﻿using Kalman.Jwt;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace QuDao.Api
{
    /// <summary>
    /// 用户登录后返回给客户的数据模型
    /// </summary>
    public class LoginUserModel : JwtToken
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public long UserID { get; set; }

        /// <summary>
        /// 微信小程序AppID
        /// </summary>
        public string WxAppID { get; set; }

		/// <summary>
		/// 微信用户OpenID
		/// </summary>
		public string OpenID { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        public string TrueName { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 用户类型：分ABC三级
        /// </summary>
        public string UserType { get; set; }

        /// <summary>
        /// 管理角色：9-管理员，1-财务，2-仓库
        /// </summary>
        public int Role { get; set; }

        /// <summary>
        /// 客户名称：门店名称或公司名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string AvatarUrl { get; set; }

		/// <summary>
		/// 性别
		/// </summary>
		public string Sex { get; set; }

        /// <summary>
        /// 是否代理
        /// </summary>
        public bool IsAgent { get; set; }

        /// <summary>
        /// 代理区域ID
        /// </summary>
        public int AgentAreaID { get; set; }

        /// <summary>
        /// 省份ID
        /// </summary>
        public int ProvinceID { get; set; }

        /// <summary>
        /// 省份名称
        /// </summary>
        public string ProvinceName { get; set; }

        /// <summary>
        /// 城市ID
        /// </summary>
        public int CityID { get; set; }

        /// <summary>
        /// 城市名称
        /// </summary>
        public string CityName { get; set; }

        /// <summary>
        /// 区县ID
        /// </summary>
        public int CountyID { get; set; }

        /// <summary>
        /// 区县名称
        /// </summary>
        public string CountyName { get; set; }

        /// <summary>
        /// 收货人电话
        /// </summary>
        public string ReceiverPhone { get; set; }

        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string ReceiverName { get; set; }

        /// <summary>
        /// 收货地址
        /// </summary>
        public string ReceiveAddress { get; set; }

        /// <summary>
        /// 结算银行
        /// </summary>
        public string ClearingBank { get; set; }

        /// <summary>
        /// 银行卡号
        /// </summary>
        public string BankCardNo { get; set; }

    }
}
